package com.sxit.myproscenium.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sxit.myproscenium.system.entity.Address;
import com.sxit.myproscenium.system.mapper.AddressMapper;
import com.sxit.myproscenium.system.service.IAddressService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务实现类
 *
 * @author wcn
 * @since 2022-04-10
 */
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address>
    implements IAddressService {

  @Override
  public List<Address> getAddressByUserId(Long userId) {
    return baseMapper.getAddressByUserId(userId);
  }
}
